import axios from '@/utils/axios';

let api = {}

api.profile = function () {
    return axios.get('/adminUser/profile');
}

api.password = function (params) {
    return axios.put('/adminUser/password', params);
}

api.name = function (params) {
    return axios.put('/adminUser/name', params)
}

export default api
